package com.fowo.api.syncLingxingApi.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fowo.api.syncLingxingApi.entity.TmpSyncLingxingToSpuInfo;
import com.fowo.api.syncLingxingApi.mapper.TmpSyncLingxingToSpuInfoMapper;
import com.fowo.api.syncLingxingApi.service.TmpSyncLingxingToSpuInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
@DS("ds24")
public class TmpSyncLingxingToSpuInfoServiceImpl
        extends ServiceImpl<TmpSyncLingxingToSpuInfoMapper, TmpSyncLingxingToSpuInfo>
        implements TmpSyncLingxingToSpuInfoService {

    @Override
    public void deleteAll() {
        baseMapper.deleteAll();
    }

    @Override
    public Integer insertSpuInfo(String version) {
       return baseMapper.insertSpuInfo(version);
    }
    @Override
    public Integer insertSpuInfoSkuList(String version) {
        return baseMapper.insertSpuInfoSkuList(version);
    }

    @Override
    public Integer insertSpuInfoAuxRelationList(String version) {
        return baseMapper.insertSpuInfoAuxRelationList(version);
    }


}
